<?php
class Category extends Controller
{
    public function actionIndex()
    {
        $categoryModel = $this->_loader->model('CategoryModel');

        $viewParams = array(
            'hierarchyCategories' => $categoryModel->getCategoriesForMenu()
        );

        return $this->responseView('module/category', $viewParams);
    }
}
